package vn.personal.anhht.bloback12.block;

import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.util.Log;

public class TestAlarm extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.e("On Boot Block", "33333333333333");
        ComponentName component1 = new ComponentName(context,
                BlockIncomingCall.class);
        context.getPackageManager().setComponentEnabledSetting(component1,
                PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
                PackageManager.DONT_KILL_APP);
    }
}
